a:link{
    color: #fff;
}
a:visited{
    color: #fff;
}
a:hover{
    color: #fff;
    border-bottom:1px solid #fff ;
}
a:active{
    color: #fff;
}

// 头部
header{
    width: 100%;
    min-width: 1200px;
    height: 60px;
    // border: 1px solid red;
    background-color: rgba($color: #000000, $alpha: 0.3);
    display: flex;
    position: fixed;
    z-index: 999;
    > .header_left {
        width: 300px;
        height: 60px;
        // border: 1px solid red;
        display: flex;
        align-items: center;
        margin-left: 180px;
        > img {
            width: 160px;
        }
        > div {
            display: flex;
            width: 45px;
            // border: 1px solid red;
            color: #fff;
            align-items: center;
            justify-content: center;
            border-radius: 20px;
            font-size: 12px;
            background-color: #ccc;
            position: relative;
            &:hover > div{
                height: 300px;
            }
            > div{
                position: absolute;
                top: 37px;
                left: 0;
                width: 60px;
                height: 0px;
                color: #000;
                text-align: center;
                // border: 1px solid red;
                overflow: hidden;
                transition: all 0.2s linear;
                > ul {
                    width: 100%;
                    height: 100%;
                    background-color: #fff;
                    position: relative;
                    > li {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        position: relative;
                        width: 100%;
                        height: 10%;
                        &:hover{
                            color: orange;
                        }
                        &:hover::after{
                            transform: scaleX(1);
                        }
                    }
                    > li::after{
                        content: "";
                        width: 28px;
                        height: 2px;
                        background-color: orange;
                        position: absolute;
                        top: 22px;
                        left: 15px;
                        color: #000;
                        transform: scaleX(0);
                        transform-origin: 14px 0px;
                        transition: all 0.2s linear;
                        
                    }
                    
                }
            }
        }
    }
    > .header_right{
        width: 800px;
        margin-left: 140px;
        display: flex;
        align-items: center;
        // border: 1px solid red;
        > ul {
            width: 80%;
            height: 60px;
            // border: 1px solid red;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            > li {
                font-size: 14px;
                color: #fff;
                display: flex;
                justify-content: center;
                align-items: center;
                position: relative;
                &:hover::after{
                    transform: scaleX(1);
                }
            }
            > li:nth-of-type(8){
                > div:nth-of-type(1){
                    position: absolute;
                    top: 30px;
                    width: 0px;
                    height: 0px;
                    border-bottom: 10px solid #fff;
                    border-left: 10px solid transparent;
                    border-right: 10px solid transparent;
                    border-top: 10px solid transparent;
                    display: none;
                }
                > div:nth-of-type(2) {
                    position: absolute;
                    top: 50px;
                    left: -30px;
                    width: 120px;
                    height: 150px;
                    background-color: #fff;
                    display: none;
                    > img {
                        width: 100px;
                        margin: 10px;
                    }
                    > div {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        font-size: 12px;
                        margin-bottom: 10px;
                        color: rgb(48, 48, 48);
                    }
                }
            }
            > li:nth-of-type(8):hover{
                > div{
                    display: block;
                }
            }
            > li::after{
                content: "";
                width: 100%;
                height: 2px;
                background-color: orange;
                position: absolute;
                top: 26px;
                left: 1px;
                color: #000;
                transform: scaleX(0);
                transform-origin: 14px 0px;
                transition: all 0.2s linear;
                
            }
        }
        > div:nth-of-type(1){
            width: 100px;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-left: 20px;
            color: #fff;
            border: 1px solid #fff;
        }
        > div:nth-of-type(2){
            width: 140px;
            height: 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-left: 50px;
            color: #fff;
            position: relative;
            > a {
                width: 49%;
                height: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                // border: 1px solid red;
            }
            > a:nth-of-type(1)::after {
                content: "";
                position: absolute;
                left: 57px;
                height: 20px;
                width: 1px;
                font-size: 18px;
                background-color: #fff; 
                color: #fff;
                text-decoration: solid;      
            }
        }
    }
}

// 轮播图
.banner{
    width: 100%;
    height: 500px;
    background: url(../img/banner-bg.jpg);
    background-size: 100% 100%;
    position: relative;
    > div:nth-of-type(1){
        position: absolute;
        top: 130px;
        left: 175px;
        width: 700px;
        height: 320px;
        // border: 1px solid red;
        z-index: 999;
        > h1 {
            font-size: 60px;
            color: #fff;
        }
        > h2 {
            color: #fff;
        }
    }
    > div:nth-of-type(2){
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #000;
        opacity: 0.2;
    }
}

//轮播图底部
.bottom{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    // border: 1px solid red;
    > div:nth-of-type(1){
        height: 30px;
        width: 200px;
        display: flex;
        justify-content: space-between;
        color: #fff;
        // border: 1px solid red;
        > span{
            height: 30px;
            line-height: 30px;
        }
    }
    > div:nth-of-type(2){
        position: absolute;
        top: 20px;
        left: 8px;
        width: 0px;
        height: 0px;
        border-bottom: 10px solid #fff;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid transparent;
    }
    >div:nth-of-type(3){
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 60px;
        background-color: #fff;
        display: flex;
        align-items: center;
        > input {
            width: 280px;
            height: 40px;
            outline: none;
            border: none;
            margin-left: 30px;
            font-size: 16px;
            &::placeholder{
                color: rgb(188, 188, 188);
            }
        }
        > div{
            width: 140px;
            height: 100%;
            // border: 1pxx solid red;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        > div:nth-of-type(1){
            position: relative;
            margin-left: 110px;
            border-left: 1px solid #ccc;
            color: rgb(188, 188, 188);
            overflow: hidden;
            > div {
                position: absolute;
                width: 200px;
                height: 100px;
                top:60px;
                background-color: #000;
                opacity: 0.2;
                transition: all .4s linear;
            }
            &:hover > div{
                transform: translateY(-100px);
            }
        }
        > div:nth-of-type(2){
            position: relative;
            background-color: orange;
            color: #fff;
            overflow: hidden;
            > div {
                position: absolute;
                width: 200px;
                height: 100px;
                top:60px;
                background-color: #000;
                opacity: 0.2;
                transition: all .4s linear;
            }
            &:hover > div{
                transform: translateY(-100px);
            }
        }
    }
}

//功能
.function{
    width: 100%;
    height: 430px;
    // border: 1px solid red;
    display: flex;
    flex-direction: column;
    > ul {
        width: 76%;
        height: 240px;
        margin: 0 auto;
        display: flex;
        justify-content: space-around;
        margin-top: 50px;
        // border: 1px solid red;
        > li:nth-of-type(1) {
            background: url(../img/entrance01.jpg) no-repeat;
            background-size: 100% 180px;
        }
        > li:nth-of-type(2) {
            background: url(../img/entrance02.jpg) no-repeat;
            background-size: 100% 180px;
        }
        > li:nth-of-type(3) {
            background: url(../img/entrance03.jpg) no-repeat;
            background-size: 100% 180px;
        }
        > li:nth-of-type(4) {
            background: url(../img/entrance04.jpg) no-repeat;
            background-size: 100% 180px;
        }
        > li {
            width: 23%;
            height: 100%;
            // border: 1px solid red;
            position: relative;
            > div {
                position: absolute;
                top: 140px;
                left: 28px;
                width: 210px;
                height: 80px;
                overflow: hidden;
                // border: 1px solid red;
                display: flex;
                &:hover > div:nth-of-type(1){
                    left: 0;
                }
                &:hover > div:nth-of-type(2){
                    left: 210px;
                }
                > div:nth-of-type(1) {
                    position: absolute;
                    left: -210px;
                    width: 100%;
                    height: 80px;
                    background-color: #fff;
                    // border: 1px solid red;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    transition: all 0.3s linear;
                    > img {
                        width: 30px;
                    }
                }
                > div:nth-of-type(2) {
                    position: absolute;
                    left: 0px;
                    width: 210px;
                    height: 80px;
                    background-color: #fff;
                    // border: 1px solid red;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    transition: all 0.3s linear;
                    > h3 {
                        font-size: 14px;
                        color: rgb(195, 195, 195);
                        font-weight: 400;
                    }
                }
            }
        }
    }
    > div {
        width: 100%;
        height: 100px;
        // border: 1px solid red;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 40px;
        > div:nth-of-type(1) {
            display: flex;
            justify-content: center;
            align-items: center;
                    // border: 1px solid red;
            > img {
                width: 36px;
                height: 36px;
            }
            > h2 {
                font-size: 30px;
            }
        }
        > h3 {
            margin-top: 5px;
            color: rgba(0, 0, 0, .4);
        }
    }

}
//深呼吸
.breathe {
    width: 100%;
    height: 650px;
    // border: 1px solid red;
    background: url(../img/video-bg01.jpg) no-repeat;
    background-size: 100% auto;
    position: relative;
    > div:nth-of-type(1) {
        width: 60%;
        height: 80%;
        margin: auto;
        // border: 1px solid red;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        > img:nth-of-type(1) {
            width: 100%;
        }
        >img:nth-of-type(2){
            width: 70px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
        }
        > div {
            position: absolute;
            top: 60%;
            left: 50%;
            transform: translate(-50%,-50%); 
            color: #fff;
        }
        > ul {
            width: 70%;
            height: 30px;
            margin: 10px auto 0;
            // border: 1px solid red;
            display: flex;
            justify-content: space-around;
            > li {
                position: relative;
                color: #fff;
                &::after{
                    content: "";
                    position: absolute;
                    top: 5px;
                    right: -8px;
                    height: 15px;
                    width: 1px;
                    background: #ccc;
                }
            }
            > li:nth-of-type(5) {
                position: relative;
                color: #fff;
                &::after{
                    content: "";
                    position: absolute;
                    top: 5px;
                    right: -8px;
                    height: 15px;
                    width: 0px;
                    background: #ccc;
                }
            }
        }
    }
    > div:nth-of-type(2) {
        width: 100%;
        height: 100px;
        // border: 1px solid red;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        bottom: 30px;
        > div:nth-of-type(1) {
            display: flex;
            justify-content: center;
            align-items: center;
                    // border: 1px solid red;
            > img {
                width: 36px;
                height: 36px;
            }
            > h2 {
                font-size: 30px;
            }
        }
        > h3 {
            margin-top: 5px;
            color: rgba(0, 0, 0, .4);
        }
    }
}

//租住服务
.fuwu {
    width: 100%;
    height: 700px;
    // border: 1px solid red;
    .header {
        width: 80%;
        height: 120px;
        margin: 0 auto;
        // border: 1px solid red;
        > ul {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: space-around;
            align-items: center;
            // border: 1px solid red;
            > li {
                display: flex;
                flex-direction: column;
                align-items: center;
                width: 100px;
                height: 80px;
                // border: 1px solid red;
                position: relative;
                > span {
                    margin-top: 18px;
                    font-size: 48px;
                    color: rgba(0, 0, 0, .06);
                }
                > h3 {
                    position: absolute;
                    top: 50px;
                    font-size: 22px;
                    color: rgba(0,0,0,.85);
                    font-weight: normal;
                }
            }
        }
    }
    .footer{
        width: 80%;
        height: 580px;
        margin: 0 auto;
        // border: 1px solid red;
        display: flex;
        .left {
            width: 25%;
            height: 100%;
            // border: 1px solid red;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            > div {
                position: absolute;
                z-index: 999;
                left: 20px;
                width: 360px;
                height: 260px;
                // border: 1px solid red;
                background-color: #fff;
                padding: 24px;
                box-shadow: 0px 0px 10px #ccc;
                border-radius: 5px;
                > h2 {
                    font-size: 34px;
                }
                >div:nth-of-type(1){
                    font-size: 18px;
                    color: rgb(139, 139, 139);
                    font-weight: 600;
                    letter-spacing: 2px;
                }
                >div:nth-of-type(2){
                    font-size: 16px;
                    color: rgb(170, 170, 170);
                }
            }
        }
        .right {
            width: 75%;
            height: 100%;
            // border: 1px solid red;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            > img {
                width: 100%;
                transition: all 1s linear ;
            }
            &:hover > img{
                transform: scale(1.1);
            }
            
        }
    }
}

// 活动
.active{
    width: 100%;
    height: 800px;
    border: 1px solid red;
    > ul {
        width: 100%;
        height: 600px;
        margin-top: 20px;
        display: flex;
        flex-wrap: wrap;
        > li {
            width: 20%;
            height: 50%;
            overflow: hidden;
            &:hover > img{
                transform: scale(1.2);
            }
            > img {
                width: 100%;
                height: 100%;
                transition: all 0.8s linear;
            }
        }
    }
    > div {
        width: 100%;
        height: 100px;
        // border: 1px solid red;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 40px;
        > div:nth-of-type(1) {
            display: flex;
            justify-content: center;
            align-items: center;
                    // border: 1px solid red;
            > img {
                width: 36px;
                height: 36px;
            }
            > h2 {
                font-size: 30px;
            }
        }
        > h3 {
            margin-top: 5px;
            color: rgba(0, 0, 0, .4);
        }
    }
}

                     